package com.woniu.service;

import com.woniu.utils.ResponseUtil;

public interface PatientExamService {

    ResponseUtil findAll(Integer pageNum, Integer pageSize);

    // 条件分页查询
    ResponseUtil selectByCondition(String patientName, String itemName, Integer statusInt, Integer pageNum, Integer pageSize);

    // 完成检查 - 更新状态和结果
    ResponseUtil completeExam(Integer id, String result,Integer statusInt);

    // 同步ck_detail状态到patient_exam (定时任务或事件监听)
    void syncStatusFromCkDetail();
}
